/*
 * @Author: Hzt
 * @Date: 2024-11-03 15:43:13
 * @LastEditTime: 2024-11-03 16:15:17
 * @LastEditors: Hzt
 * @Description: ***
 * @FilePath: \cty_admin\src\api\images.js
 */
import { post } from "@/utils/request";

export function fetchImageEdit(params) {
  return post("/image/edit", params);
}
export function fetchImageShare(params) {
  return post(`/image/doc/${params.type}/${params.shareId}`);
}
export function fetchImageDelete({ id }) {
  return post(`/image/delete/${id}`);
}
